﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MS.InformationManagement.Presenter.Support;

namespace MS.InformationManagement.Presenter.IncomingDocuments
{
    public class IncomingDocumentsPresenter : BasePresenter<IIncomingDocumentsView>
    {

        #region Constructors 

        public IncomingDocumentsPresenter(IIncomingDocumentsView view)
            : base(view)
        { }

        #endregion

        #region Public Methods

        public void HandleLoad()
        {
            View.AllIncomingDocuments = BLL.IncommingDocuments.IncommingDocuments.GetAllIncommingDocuments();
            View.Show();
        }

        #endregion

    }
}
